package com.dc.refactoring._4_简化条件表达式._6_ReplaceConditionalWithPolymorphism.newProject;

public class Engineer extends EmployeeType{

    @Override
    double getAmount(Employee employee) {
        return employee.getBase() * 0.8;
    }
}
